/**
 * Created by shitao on 15/11/2.
 */
(function () {
    angular.module('my-tabs.controllers')
        .controller('homeCtrl', homeCtrl);
    homeCtrl.$inject = ['$scope', 'appService', 'adService'];

    function homeCtrl($scope, appService, adService) {

        console.log('homeCtrl');

        var vm = this;
        vm.apps = appService.all();
        vm.ads = adService.all();
    }
})();
